package com.inight.ojcodesandbox.unsafe;


/**
 * 主动模拟错误, 一直睡眠
 */
public class SleepError {

    public static void main(String[] args) throws InterruptedException {
        long SLEEP_TIME = 60 * 60 * 60; // 一小时
        Thread.sleep(SLEEP_TIME);
        System.out.println("睡眠结束");
    }

}
